Optimal. Leaf size=100 \[ -\frac {1}{18} \left (3 x^2+2\right )^{3/2} (2 x+3)^3+\frac {17}{30} \left (3 x^2+2\right )^{3/2} (2 x+3)^2+\frac {7}{270} (267 x+898) \left (3 x^2+2\right )^{3/2}+\frac {511}{9} x \sqrt {3 x^2+2}+\frac {1022 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{9 \sqrt {3}} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 100, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {833, 780, 195, 215} \begin {gather*} -\frac {1}{18} \left (3 x^2+2\right )^{3/2} (2 x+3)^3+\frac {17}{30} \left (3 x^2+2\right )^{3/2} (2 x+3)^2+\frac {7}{270} (267 x+898) \left (3 x^2+2\right )^{3/2}+\frac {511}{9} x \sqrt {3 x^2+2}+\frac {1022 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{9 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 215
Rule 780
Rule 833
Rubi steps
\begin {align*} \int (5-x) (3+2 x)^3 \sqrt {2+3 x^2} \, dx &=-\frac {1}{18} (3+2 x)^3 \left (2+3 x^2\right )^{3/2}+\frac {1}{18} \int (3+2 x)^2 (282+153 x) \sqrt {2+3 x^2} \, dx\\ &=\frac {17}{30} (3+2 x)^2 \left (2+3 x^2\right )^{3/2}-\frac {1}{18} (3+2 x)^3 \left (2+3 x^2\right )^{3/2}+\frac {1}{270} \int (3+2 x) (11466+11214 x) \sqrt {2+3 x^2} \, dx\\ &=\frac {17}{30} (3+2 x)^2 \left (2+3 x^2\right )^{3/2}-\frac {1}{18} (3+2 x)^3 \left (2+3 x^2\right )^{3/2}+\frac {7}{270} (898+267 x) \left (2+3 x^2\right )^{3/2}+\frac {1022}{9} \int \sqrt {2+3 x^2} \, dx\\ &=\frac {511}{9} x \sqrt {2+3 x^2}+\frac {17}{30} (3+2 x)^2 \left (2+3 x^2\right )^{3/2}-\frac {1}{18} (3+2 x)^3 \left (2+3 x^2\right )^{3/2}+\frac {7}{270} (898+267 x) \left (2+3 x^2\right )^{3/2}+\frac {1022}{9} \int \frac {1}{\sqrt {2+3 x^2}} \, dx\\ &=\frac {511}{9} x \sqrt {2+3 x^2}+\frac {17}{30} (3+2 x)^2 \left (2+3 x^2\right )^{3/2}-\frac {1}{18} (3+2 x)^3 \left (2+3 x^2\right )^{3/2}+\frac {7}{270} (898+267 x) \left (2+3 x^2\right )^{3/2}+\frac {1022 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{9 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 60, normalized size = 0.60 \begin {gather*} \frac {1}{270} \left (10220 \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )-\sqrt {3 x^2+2} \left (360 x^5-216 x^4-8445 x^3-21918 x^2-21120 x-14516\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.30, size = 71, normalized size = 0.71 \begin {gather*} \frac {1}{270} \sqrt {3 x^2+2} \left (-360 x^5+216 x^4+8445 x^3+21918 x^2+21120 x+14516\right )-\frac {1022 \log \left (\sqrt {3 x^2+2}-\sqrt {3} x\right )}{9 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 65, normalized size = 0.65 \begin {gather*} -\frac {1}{270} \, {\left (360 \, x^{5} - 216 \, x^{4} - 8445 \, x^{3} - 21918 \, x^{2} - 21120 \, x - 14516\right )} \sqrt {3 \, x^{2} + 2} + \frac {511}{27} \, \sqrt {3} \log \left (-\sqrt {3} \sqrt {3 \, x^{2} + 2} x - 3 \, x^{2} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 57, normalized size = 0.57 \begin {gather*} -\frac {1}{270} \, {\left (3 \, {\left ({\left ({\left (24 \, {\left (5 \, x - 3\right )} x - 2815\right )} x - 7306\right )} x - 7040\right )} x - 14516\right )} \sqrt {3 \, x^{2} + 2} - \frac {1022}{27} \, \sqrt {3} \log \left (-\sqrt {3} x + \sqrt {3 \, x^{2} + 2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 77, normalized size = 0.77 \begin {gather*} -\frac {4 \left (3 x^{2}+2\right )^{\frac {3}{2}} x^{3}}{9}+\frac {4 \left (3 x^{2}+2\right )^{\frac {3}{2}} x^{2}}{15}+\frac {193 \left (3 x^{2}+2\right )^{\frac {3}{2}} x}{18}+\frac {511 \sqrt {3 x^{2}+2}\, x}{9}+\frac {1022 \sqrt {3}\, \arcsinh \left (\frac {\sqrt {6}\, x}{2}\right )}{27}+\frac {3629 \left (3 x^{2}+2\right )^{\frac {3}{2}}}{135} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.10, size = 76, normalized size = 0.76 \begin {gather*} -\frac {4}{9} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} x^{3} + \frac {4}{15} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} x^{2} + \frac {193}{18} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} x + \frac {3629}{135} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} + \frac {511}{9} \, \sqrt {3 \, x^{2} + 2} x + \frac {1022}{27} \, \sqrt {3} \operatorname {arsinh}\left (\frac {1}{2} \, \sqrt {6} x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.69, size = 50, normalized size = 0.50 \begin {gather*} \frac {1022\,\sqrt {3}\,\mathrm {asinh}\left (\frac {\sqrt {6}\,x}{2}\right )}{27}+\frac {\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}\,\left (-4\,x^5+\frac {12\,x^4}{5}+\frac {563\,x^3}{6}+\frac {3653\,x^2}{15}+\frac {704\,x}{3}+\frac {7258}{45}\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 20.72, size = 150, normalized size = 1.50 \begin {gather*} - \frac {4 x^{7}}{\sqrt {3 x^{2} + 2}} + \frac {547 x^{5}}{6 \sqrt {3 x^{2} + 2}} + \frac {1705 x^{3}}{18 \sqrt {3 x^{2} + 2}} + \frac {135 x \sqrt {3 x^{2} + 2}}{2} + \frac {193 x}{9 \sqrt {3 x^{2} + 2}} + \frac {16 \sqrt {2} \left (\frac {3 x^{2}}{2} + 1\right )^{\frac {5}{2}}}{45} - \frac {16 \sqrt {2} \left (\frac {3 x^{2}}{2} + 1\right )^{\frac {3}{2}}}{27} + 27 \left (3 x^{2} + 2\right )^{\frac {3}{2}} + \frac {1022 \sqrt {3} \operatorname {asinh}{\left (\frac {\sqrt {6} x}{2} \right )}}{27} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________